﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FollowMe.Model
{
    public interface IMemberRepository
    {
        void Add(Member member);
        void Remove(Member member);
        void RemoveAll(IEnumerable<Member> members);
        void Save(Member member);

        Member FindBy(Guid Id);

        IQueryable<Member> FindBy(String userName);
        IEnumerable<Member> FindAll();
        IEnumerable<Member> FindAll(int index, int count);
    }
}
